.class Lcom/instagram/android/service/x;
.super Lcom/instagram/android/d/k/l;
.source "UserServiceHelper.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/k/l",
        "<",
        "Lcom/instagram/android/d/g/m;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/android/service/v;


# direct methods
.method private constructor <init>(Lcom/instagram/android/service/v;)V
    .locals 0
    .parameter

    .prologue
    .line 70
    iput-object p1, p0, Lcom/instagram/android/service/x;->a:Lcom/instagram/android/service/v;

    invoke-direct {p0}, Lcom/instagram/android/d/k/l;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/android/service/v;Lcom/instagram/android/service/w;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 70
    invoke-direct {p0, p1}, Lcom/instagram/android/service/x;-><init>(Lcom/instagram/android/service/v;)V

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;Lcom/instagram/android/d/k/m;)V
    .locals 3
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lcom/instagram/android/d/k/m",
            "<",
            "Lcom/instagram/android/d/g/m;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 86
    invoke-super {p0, p1, p2}, Lcom/instagram/android/d/k/l;->a(Landroid/content/Context;Lcom/instagram/android/d/k/m;)V

    .line 88
    :try_start_0
    iget-object v0, p0, Lcom/instagram/android/service/x;->a:Lcom/instagram/android/service/v;

    invoke-static {v0}, Lcom/instagram/android/service/v;->a(Lcom/instagram/android/service/v;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 92
    :goto_0
    return-void

    .line 89
    :catch_0
    move-exception v0

    .line 90
    const-class v1, Lcom/instagram/android/service/v;

    const-string v2, "error loading users from disk"

    invoke-static {v1, v2, v0}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method protected a(Lcom/instagram/android/d/g/m;)V
    .locals 3
    .parameter

    .prologue
    .line 73
    invoke-super {p0, p1}, Lcom/instagram/android/d/k/l;->a(Ljava/lang/Object;)V

    .line 75
    iget-object v0, p0, Lcom/instagram/android/service/x;->a:Lcom/instagram/android/service/v;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/service/v;->a(Z)V

    .line 77
    :try_start_0
    iget-object v0, p0, Lcom/instagram/android/service/x;->a:Lcom/instagram/android/service/v;

    invoke-virtual {p1}, Lcom/instagram/android/d/g/m;->a()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/service/v;->a(Ljava/util/List;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 81
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/service/x;->a:Lcom/instagram/android/service/v;

    invoke-virtual {p1}, Lcom/instagram/android/d/g/m;->b()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/instagram/android/service/v;->b(J)V

    .line 82
    return-void

    .line 78
    :catch_0
    move-exception v0

    .line 79
    const-class v1, Lcom/instagram/android/service/v;

    const-string v2, "error serializing users"

    invoke-static {v1, v2, v0}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 70
    check-cast p1, Lcom/instagram/android/d/g/m;

    invoke-virtual {p0, p1}, Lcom/instagram/android/service/x;->a(Lcom/instagram/android/d/g/m;)V

    return-void
.end method
